package com.xl.method;

/**
 * @ClassDescription:
 * @JdkVersion: 1.8
 * @Author: lei·xie
 * @Created: 2024/3/13 0013 16:54
 */
public class MethodDemo {
    public static void main(String[] args) {
        int a = 10;
        change(a);
        System.out.println("main:"+a); //10

    }

    public static void change(int a) {
        System.out.println("change1:"+a); //10
        a = 20;
        System.out.println("change2:"+a); //20
    }
}
